package com.itheima.feign.impl;

import com.itheima.feign.UserFeign;
import com.itheima.pojo.User;
import org.springframework.stereotype.Component;

@Component
public class UserFeignImpl implements UserFeign {
    @Override
    public User findById(Integer id) {
        User user = new User();
        user.setId(1111);
        user.setName("feign默认的用户名称");
        return user;
    }
}
